package org.lgiavedoni.android.franq.event;

import lombok.AllArgsConstructor;
import lombok.Data;

import org.lgiavedoni.android.franq.core.calendar.CalendarEvent;
import org.lgiavedoni.android.franq.core.calendar.CalendarEventImp;
import org.lgiavedoni.android.franq.core.calendar.RegisterCalendarEvent;
import org.lgiavedoni.android.franq.core.envent.Event;
@Data
@AllArgsConstructor
public class CallToEvent extends Event implements RegisterCalendarEvent {

	private final String person;

	@Override
	public CalendarEvent toCalendarEvent() {
		return new CalendarEventImp("Call to: " + person, "Call to: " + person, getCreationDate());
	}

}
